package cn.zyx.org.mapper;

import cn.zyx.org.domain.SystemDictionaryDetail;
import cn.zyx.org.query.SystemDictionaryDetailQuery;

import java.util.List;

public interface SystemDictionaryDetailMapper {

    // 添加数据
    void save(SystemDictionaryDetail systemDictionaryDetail);

    // 删除数据
    void delete(Long id);

    // 查询数据
    List<SystemDictionaryDetail> loadAll();

    // 查询一条数据
    SystemDictionaryDetail loadById(Long id);

    // 修改数据
    void update(SystemDictionaryDetail systemDictionaryDetail);

    // 查询详情总条数
    Integer detailPageCount(SystemDictionaryDetailQuery systemDictionaryDetailQuery);

    // 查询当前详情分页数据
    List<SystemDictionaryDetail> detailPageData(SystemDictionaryDetailQuery systemDictionaryDetailQuery);
}
